package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/8/31.
 */
@Entity
public class Role implements Serializable {
    private static final long serialVersionUID = -2144400340419957545L;
    @Id
    private long id;
    @Property
    private String state;
    @Property
    private String name;
    @Property
    private String rolekey;
    @Property
    private String description;
    public String getDescription() {
        return this.description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getRolekey() {
        return this.rolekey;
    }
    public void setRolekey(String rolekey) {
        this.rolekey = rolekey;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getState() {
        return this.state;
    }
    public void setState(String state) {
        this.state = state;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 1422870581)
    public Role(long id, String state, String name, String rolekey,
            String description) {
        this.id = id;
        this.state = state;
        this.name = name;
        this.rolekey = rolekey;
        this.description = description;
    }
    @Generated(hash = 844947497)
    public Role() {
    }
}
